package com.ssm.dao;

import com.ssm.pojo.StuMistake;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StuMistakeDao {
    List<StuMistake> listAll(String cdorm);
    List<StuMistake> find_name_cdormd(@Param("cdorm") String cdorm,@Param("sname")String sname);
    List<StuMistake> find_name_cdormc(String cdorm);
    List<StuMistake> findNotStatu();
    int addStuMistake(StuMistake stuMistake);

    StuMistake query(String number);

    int stuMistakeUpdate(StuMistake stu);
    int updateByNumber(StuMistake stuMistake);

    int deleteByNumber(String number);
    int deleteStuList(List<String> list);

    int updateStatu(@Param("number") String number,@Param("statu") int statu);


}
